<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">姓名:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-admin_id" data-rule="required" data-field="nickname" data-params='{"custom[role]":["in","1,2,3,4,5,6"]}' data-source="auth/admin/selectpage" class="form-control selectpage" name="row[admin_id]" type="text" value="{$row.admin_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="position" class="control-label col-xs-12 col-sm-2"> {:__('Position')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control selectpicker"  name="row[position_id]" >
                <option value="0" > 请选择</option>
                <option value="1" {if condition="$row.position_id eq 1"}selected{/if}> 家长</option>
                <option value="2" {if condition="$row.position_id eq 2"}selected{/if}> 班主任</option>
                <option value="3" {if condition="$row.position_id eq 3"}selected{/if}> 协管老师</option>
                <option value="4" {if condition="$row.position_id eq 4"}selected{/if}> 值日行政人员</option>
                <option value="5" {if condition="$row.position_id eq 5"}selected{/if}> 校车安全管理人员</option>
                <option value="6" {if condition="$row.position_id eq 6"}selected{/if}> 学校领导</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Classroom_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-classRoom_id" data-rule="required" data-field="title"    data-source="class_room/selectpage" class="form-control selectpage" name="row[classRoom_id]" type="text" value="{$row.classRoom_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Circuit_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-circuit_id" data-rule="required" data-field="title" data-source="circuit/selectpage" class="form-control selectpage" name="row[circuit_id]" type="text" value="{$row.circuit_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[time]" type="text" value="{$row.time}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
